package com.example.springmvcinterview.config;

/**
 * @Author : 叶荻风
 * @create : 2024/12/10 17:49
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.metrics.ApplicationStartup;

@Configuration
public class StartupConfig {

    @Bean
    public ApplicationStartup customApplicationStartup() {
        return new LoggingApplicationStartup();
    }
}